import json
import os
import re
import yaml
from urllib.parse import quote

import requests
import requests.packages.urllib3

requests.packages.urllib3.disable_warnings()

data = """
{"data":{"problemsetQuestionList":{"__typename":"QuestionListNode","questions":[{"__typename":"QuestionLightNode","acRate":0.37602601213370873,"difficulty":"MEDIUM","freqBar":35.89901544932416,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 30","isFavor":false,"solutionNum":141,"title":"\u9b54\u5854\u6e38\u620f","titleCn":"\u9b54\u5854\u6e38\u620f","titleSlug":"p0NxJO","topicTags":[{"id":"n7hqh","name":"Greedy","slug":"greedy","nameTranslated":"\u8d2a\u5fc3","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"xp2oh0e","name":"Heap (Priority Queue)","slug":"heap-priority-queue","nameTranslated":"\u5806\uff08\u4f18\u5148\u961f\u5217\uff09","__typename":"CommonTagNode"}],"extra":{"companyTagNum":2,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.29224757076468105,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 31","isFavor":false,"solutionNum":42,"title":"\u53d8\u6362\u7684\u8ff7\u5bab","titleCn":"\u53d8\u6362\u7684\u8ff7\u5bab","titleSlug":"Db3wC1","topicTags":[{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":null,"slug":"hua-wei-ji-zhu-you-xian-gong-si","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4289805269186712,"difficulty":"HARD","freqBar":44.99974438727533,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 32","isFavor":false,"solutionNum":33,"title":"\u6279\u91cf\u5904\u7406\u4efb\u52a1","titleCn":"\u6279\u91cf\u5904\u7406\u4efb\u52a1","titleSlug":"t3fKg1","topicTags":[{"id":"n7hqh","name":"Greedy","slug":"greedy","nameTranslated":"\u8d2a\u5fc3","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"xp2oh0e","name":"Heap (Priority Queue)","slug":"heap-priority-queue","nameTranslated":"\u5806\uff08\u4f18\u5148\u961f\u5217\uff09","__typename":"CommonTagNode"}],"extra":{"companyTagNum":2,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.2643349293471914,"difficulty":"EASY","freqBar":33.60509861104517,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 33","isFavor":false,"solutionNum":141,"title":"\u84c4\u6c34","titleCn":"\u84c4\u6c34","titleSlug":"o8SXZn","topicTags":[{"id":"n7hqh","name":"Greedy","slug":"greedy","nameTranslated":"\u8d2a\u5fc3","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"xp2oh0e","name":"Heap (Priority Queue)","slug":"heap-priority-queue","nameTranslated":"\u5806\uff08\u4f18\u5148\u961f\u5217\uff09","__typename":"CommonTagNode"}],"extra":{"companyTagNum":6,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2020/04/a29f4ff2-772d-4e94-b034-fe2815298cc9/%E7%BD%91%E6%98%93logo-%E6%96%B9.png","slug":"netease","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5586124401913876,"difficulty":"MEDIUM","freqBar":12.762971117131421,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 34","isFavor":false,"solutionNum":100,"title":"\u4e8c\u53c9\u6811\u67d3\u8272","titleCn":"\u4e8c\u53c9\u6811\u67d3\u8272","titleSlug":"er-cha-shu-ran-se-UGC","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":4,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4794159399716082,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 35","isFavor":false,"solutionNum":39,"title":"\u7535\u52a8\u8f66\u6e38\u57ce\u5e02","titleCn":"\u7535\u52a8\u8f66\u6e38\u57ce\u5e02","titleSlug":"DFPeFJ","topicTags":[{"id":"nkrae","name":"Graph","slug":"graph","nameTranslated":"\u56fe","__typename":"CommonTagNode"},{"id":"48rxpj","name":"Shortest Path","slug":"shortest-path","nameTranslated":"\u6700\u77ed\u8def","__typename":"CommonTagNode"},{"id":"xp2oh0e","name":"Heap (Priority Queue)","slug":"heap-priority-queue","nameTranslated":"\u5806\uff08\u4f18\u5148\u961f\u5217\uff09","__typename":"CommonTagNode"}],"extra":{"companyTagNum":3,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/d2e85988beccb271af4b1a8f4767e4bdf4c085aaf5aaef093347d778e4e138d7-20.png","slug":"huawei","__typename":"CommonTagNode"},{"imgUrl":null,"slug":"samsung-electronics","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3389685426920608,"difficulty":"HARD","freqBar":23.337842489048615,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 36","isFavor":false,"solutionNum":26,"title":"\u6700\u591a\u724c\u7ec4\u6570","titleCn":"\u6700\u591a\u724c\u7ec4\u6570","titleSlug":"Up5XYM","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":4,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":null,"slug":"tuya","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":null,"slug":"yokagames","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.25255382681125255,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 37","isFavor":false,"solutionNum":27,"title":"\u6700\u5c0f\u77e9\u5f62\u9762\u79ef","titleCn":"\u6700\u5c0f\u77e9\u5f62\u9762\u79ef","titleSlug":"zui-xiao-ju-xing-mian-ji","topicTags":[{"id":"n7hqh","name":"Greedy","slug":"greedy","nameTranslated":"\u8d2a\u5fc3","__typename":"CommonTagNode"},{"id":"vlt55","name":"Geometry","slug":"geometry","nameTranslated":"\u51e0\u4f55","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"rwhb85","name":"Combinatorics","slug":"combinatorics","nameTranslated":"\u7ec4\u5408\u6570\u5b66","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":4,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/02/587cf658-7303-4b1e-a3f5-22d7a1f34cff/11.png","slug":"dbappsecurity","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5566844919786096,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 38","isFavor":false,"solutionNum":20,"title":"\u5b88\u536b\u57ce\u5821","titleCn":"\u5b88\u536b\u57ce\u5821","titleSlug":"7rLGCR","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5547542228126779,"difficulty":"EASY","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 39","isFavor":false,"solutionNum":95,"title":"\u65e0\u4eba\u673a\u65b9\u9635","titleCn":"\u65e0\u4eba\u673a\u65b9\u9635","titleSlug":"0jQkd0","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"pxpqcm","name":"Counting","slug":"counting","nameTranslated":"\u8ba1\u6570","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":2,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":null,"slug":"hua-wei-ji-zhu-you-xian-gong-si","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3106744367848767,"difficulty":"EASY","freqBar":28.295890982770317,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 40","isFavor":false,"solutionNum":181,"title":"\u5fc3\u7b97\u6311\u6218","titleCn":"\u5fc3\u7b97\u6311\u6218","titleSlug":"uOAnQW","topicTags":[{"id":"n7hqh","name":"Greedy","slug":"greedy","nameTranslated":"\u8d2a\u5fc3","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":null,"slug":"lanqiao","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.514613392526822,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 41","isFavor":false,"solutionNum":68,"title":"\u9ed1\u767d\u7ffb\u8f6c\u68cb","titleCn":"\u9ed1\u767d\u7ffb\u8f6c\u68cb","titleSlug":"fHi6rV","topicTags":[{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":3,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/4dff83857016c714fdac2121a0557d9121cb243fc17e5b7075fd4501eb4e9d2a-Download 360 Total Security 8.6.0.1132 Free.png","slug":"360","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/tag/%E7%BD%91%E6%98%93%E6%B8%B8%E6%88%8F/company_logo","slug":"netease-games","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.2864906832298137,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 42","isFavor":false,"solutionNum":48,"title":"\u73a9\u5177\u5957\u5708","titleCn":"\u73a9\u5177\u5957\u5708","titleSlug":"vFjcfV","topicTags":[{"id":"vlt55","name":"Geometry","slug":"geometry","nameTranslated":"\u51e0\u4f55","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"drclh","name":"Binary Search","slug":"binary-search","nameTranslated":"\u4e8c\u5206\u67e5\u627e","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.509771986970684,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 43","isFavor":false,"solutionNum":30,"title":"\u5341\u5b57\u8def\u53e3\u7684\u4ea4\u901a","titleCn":"\u5341\u5b57\u8def\u53e3\u7684\u4ea4\u901a","titleSlug":"Y1VbOX","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"dofid","name":"String","slug":"string","nameTranslated":"\u5b57\u7b26\u4e32","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":2,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7887197348463569,"difficulty":"EASY","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 44","isFavor":false,"solutionNum":206,"title":"\u5f00\u5e55\u5f0f\u7130\u706b","titleCn":"\u5f00\u5e55\u5f0f\u7130\u706b","titleSlug":"sZ59z6","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":3,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.2884871339840284,"difficulty":"MEDIUM","freqBar":18.99847738650479,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 45","isFavor":false,"solutionNum":57,"title":"\u81ea\u884c\u8f66\u70ab\u6280\u8d5b\u573a","titleCn":"\u81ea\u884c\u8f66\u70ab\u6280\u8d5b\u573a","titleSlug":"kplEvH","topicTags":[{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"vhos7","name":"Memoization","slug":"memoization","nameTranslated":"\u8bb0\u5fc6\u5316\u641c\u7d22","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.48957273652085453,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 46","isFavor":false,"solutionNum":44,"title":"\u5fd7\u613f\u8005\u8c03\u914d","titleCn":"\u5fd7\u613f\u8005\u8c03\u914d","titleSlug":"05ZEDJ","topicTags":[{"id":"nkrae","name":"Graph","slug":"graph","nameTranslated":"\u56fe","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.44709809964047253,"difficulty":"HARD","freqBar":40.44190577850326,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 47","isFavor":false,"solutionNum":33,"title":"\u5165\u573a\u5b89\u68c0","titleCn":"\u5165\u573a\u5b89\u68c0","titleSlug":"oPs9Bm","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":2,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.28422619047619047,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 48","isFavor":false,"solutionNum":17,"title":"\u65e0\u9650\u68cb\u5c40","titleCn":"\u65e0\u9650\u68cb\u5c40","titleSlug":"fsa7oZ","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"2men8m","name":"Enumeration","slug":"enumeration","nameTranslated":"\u679a\u4e3e","__typename":"CommonTagNode"},{"id":"vawmlm","name":"Game Theory","slug":"game-theory","nameTranslated":"\u535a\u5f08","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.348871085214858,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 49","isFavor":false,"solutionNum":20,"title":"\u73af\u5f62\u95ef\u5173\u6e38\u620f","titleCn":"\u73af\u5f62\u95ef\u5173\u6e38\u620f","titleSlug":"K8GULz","topicTags":[{"id":"nizi1","name":"Bit Manipulation","slug":"bit-manipulation","nameTranslated":"\u4f4d\u8fd0\u7b97","__typename":"CommonTagNode"},{"id":"n6a2i","name":"Union Find","slug":"union-find","nameTranslated":"\u5e76\u67e5\u96c6","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"xp2oh0e","name":"Heap (Priority Queue)","slug":"heap-priority-queue","nameTranslated":"\u5806\uff08\u4f18\u5148\u961f\u5217\uff09","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6823868238682387,"difficulty":"EASY","freqBar":25.296651755403204,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 50","isFavor":false,"solutionNum":74,"title":"\u5b9d\u77f3\u8865\u7ed9","titleCn":"\u5b9d\u77f3\u8865\u7ed9","titleSlug":"WHnhjV","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"xeyjfe6","name":"Simulation","slug":"simulation","nameTranslated":"\u6a21\u62df","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.47912670137937335,"difficulty":"EASY","freqBar":12.762971117131421,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 51","isFavor":false,"solutionNum":106,"title":"\u70f9\u996a\u6599\u7406","titleCn":"\u70f9\u996a\u6599\u7406","titleSlug":"UEcfPD","topicTags":[{"id":"nizi1","name":"Bit Manipulation","slug":"bit-manipulation","nameTranslated":"\u4f4d\u8fd0\u7b97","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"dnl25","name":"Backtracking","slug":"backtracking","nameTranslated":"\u56de\u6eaf","__typename":"CommonTagNode"},{"id":"2men8m","name":"Enumeration","slug":"enumeration","nameTranslated":"\u679a\u4e3e","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.28357679761735927,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 52","isFavor":false,"solutionNum":93,"title":"\u4e8c\u53c9\u641c\u7d22\u6811\u67d3\u8272","titleCn":"\u4e8c\u53c9\u641c\u7d22\u6811\u67d3\u8272","titleSlug":"QO5KpG","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"nytfd","name":"Segment Tree","slug":"segment-tree","nameTranslated":"\u7ebf\u6bb5\u6811","__typename":"CommonTagNode"},{"id":"ncljh","name":"Binary Search Tree","slug":"binary-search-tree","nameTranslated":"\u4e8c\u53c9\u641c\u7d22\u6811","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"drclh","name":"Binary Search","slug":"binary-search","nameTranslated":"\u4e8c\u5206\u67e5\u627e","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"},{"id":"qwy9jd","name":"Ordered Set","slug":"ordered-set","nameTranslated":"\u6709\u5e8f\u96c6\u5408","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.43856419696272436,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 53","isFavor":false,"solutionNum":17,"title":"\u5b88\u62a4\u592a\u7a7a\u57ce","titleCn":"\u5b88\u62a4\u592a\u7a7a\u57ce","titleSlug":"EJvmW4","topicTags":[{"id":"nizi1","name":"Bit Manipulation","slug":"bit-manipulation","nameTranslated":"\u4f4d\u8fd0\u7b97","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"eeprrj","name":"Bitmask","slug":"bitmask","nameTranslated":"\u72b6\u6001\u538b\u7f29","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 54","isFavor":false,"solutionNum":12,"title":"\u593a\u56de\u636e\u70b9","titleCn":"\u593a\u56de\u636e\u70b9","titleSlug":"s5kipK","topicTags":[{"id":"nkrae","name":"Graph","slug":"graph","nameTranslated":"\u56fe","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"xp2xvt6","name":"Biconnected Component","slug":"biconnected-component","nameTranslated":"\u53cc\u8fde\u901a\u5206\u91cf","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7352060459147298,"difficulty":"EASY","freqBar":12.136764988680875,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 55","isFavor":false,"solutionNum":76,"title":"\u91c7\u96c6\u679c\u5b9e","titleCn":"\u91c7\u96c6\u679c\u5b9e","titleSlug":"PTXy4P","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.43120542703078796,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 56","isFavor":false,"solutionNum":70,"title":"\u4fe1\u7269\u4f20\u9001","titleCn":"\u4fe1\u7269\u4f20\u9001","titleSlug":"6UEx57","topicTags":[{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"nkrae","name":"Graph","slug":"graph","nameTranslated":"\u56fe","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"},{"id":"48rxpj","name":"Shortest Path","slug":"shortest-path","nameTranslated":"\u6700\u77ed\u8def","__typename":"CommonTagNode"},{"id":"xp2oh0e","name":"Heap (Priority Queue)","slug":"heap-priority-queue","nameTranslated":"\u5806\uff08\u4f18\u5148\u961f\u5217\uff09","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.2711237553342816,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 57","isFavor":false,"solutionNum":42,"title":"\u6253\u5730\u9f20","titleCn":"\u6253\u5730\u9f20","titleSlug":"ZbAuEH","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.35319148936170214,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 58","isFavor":false,"solutionNum":17,"title":"\u79ef\u6728\u62fc\u63a5","titleCn":"\u79ef\u6728\u62fc\u63a5","titleSlug":"De4qBB","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"dnl25","name":"Backtracking","slug":"backtracking","nameTranslated":"\u56de\u6eaf","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3084982537834691,"difficulty":"HARD","freqBar":37.59330457903583,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 59","isFavor":false,"solutionNum":10,"title":"\u642d\u6865\u8fc7\u6cb3","titleCn":"\u642d\u6865\u8fc7\u6cb3","titleSlug":"NfY1m5","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.20610136920490033,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 60","isFavor":false,"solutionNum":27,"title":"\u529b\u6263\u6ce1\u6ce1\u9f99","titleCn":"\u529b\u6263\u6ce1\u6ce1\u9f99","titleSlug":"WInSav","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6149529625350718,"difficulty":"EASY","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 61","isFavor":false,"solutionNum":81,"title":"\u6c14\u6e29\u53d8\u5316\u8d8b\u52bf","titleCn":"\u6c14\u6e29\u53d8\u5316\u8d8b\u52bf","titleSlug":"6CE719","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.623141018879865,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 62","isFavor":false,"solutionNum":70,"title":"\u4ea4\u901a\u67a2\u7ebd","titleCn":"\u4ea4\u901a\u67a2\u7ebd","titleSlug":"D9PW8w","topicTags":[{"id":"nkrae","name":"Graph","slug":"graph","nameTranslated":"\u56fe","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.26284478096268254,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 63","isFavor":false,"solutionNum":113,"title":"\u5f39\u73e0\u6e38\u620f","titleCn":"\u5f39\u73e0\u6e38\u620f","titleSlug":"EXvqDp","topicTags":[{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"nkrae","name":"Graph","slug":"graph","nameTranslated":"\u56fe","__typename":"CommonTagNode"},{"id":"ns19t","name":"Topological Sort","slug":"topological-sort","nameTranslated":"\u62d3\u6251\u6392\u5e8f","__typename":"CommonTagNode"},{"id":"vhos7","name":"Memoization","slug":"memoization","nameTranslated":"\u8bb0\u5fc6\u5316\u641c\u7d22","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1673523433-zrVjtT-\u5927\u534e\u80a1\u4efd.png","slug":"dahua","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3557191596336865,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 64","isFavor":false,"solutionNum":50,"title":"\u4e8c\u53c9\u6811\u706f\u9970","titleCn":"\u4e8c\u53c9\u6811\u706f\u9970","titleSlug":"U7WvvU","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.460431654676259,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 65","isFavor":false,"solutionNum":14,"title":"\u8212\u9002\u7684\u6e7f\u5ea6","titleCn":"\u8212\u9002\u7684\u6e7f\u5ea6","titleSlug":"3aqs1c","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7746610565684899,"difficulty":"EASY","freqBar":12.136764988680875,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 66","isFavor":false,"solutionNum":77,"title":"\u6700\u5c0f\u5c55\u53f0\u6570\u91cf","titleCn":"\u6700\u5c0f\u5c55\u53f0\u6570\u91cf","titleSlug":"600YaG","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"dofid","name":"String","slug":"string","nameTranslated":"\u5b57\u7b26\u4e32","__typename":"CommonTagNode"},{"id":"pxpqcm","name":"Counting","slug":"counting","nameTranslated":"\u8ba1\u6570","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.8790322580645161,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 67","isFavor":false,"solutionNum":74,"title":"\u88c5\u9970\u6811","titleCn":"\u88c5\u9970\u6811","titleSlug":"KnLfVT","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":true,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5062903225806452,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 68","isFavor":false,"solutionNum":51,"title":"\u7f8e\u89c2\u7684\u82b1\u675f","titleCn":"\u7f8e\u89c2\u7684\u82b1\u675f","titleSlug":"1GxJYY","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"x571onh","name":"Sliding Window","slug":"sliding-window","nameTranslated":"\u6ed1\u52a8\u7a97\u53e3","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3335206518685024,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 69","isFavor":false,"solutionNum":20,"title":"Hello LeetCode!","titleCn":"Hello LeetCode!","titleSlug":"rMeRt2","topicTags":[{"id":"nizi1","name":"Bit Manipulation","slug":"bit-manipulation","nameTranslated":"\u4f4d\u8fd0\u7b97","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"dofid","name":"String","slug":"string","nameTranslated":"\u5b57\u7b26\u4e32","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"},{"id":"eeprrj","name":"Bitmask","slug":"bitmask","nameTranslated":"\u72b6\u6001\u538b\u7f29","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.2744479495268139,"difficulty":"HARD","freqBar":15.569678338957837,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 70","isFavor":false,"solutionNum":15,"title":"\u6c99\u5730\u6cbb\u7406","titleCn":"\u6c99\u5730\u6cbb\u7406","titleSlug":"XxZZjK","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5464426877470355,"difficulty":"HARD","freqBar":16.359909653152894,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 71","isFavor":false,"solutionNum":13,"title":"\u96c6\u6c34\u5668","titleCn":"\u96c6\u6c34\u5668","titleSlug":"kskhHQ","topicTags":[{"id":"n6a2i","name":"Union Find","slug":"union-find","nameTranslated":"\u5e76\u67e5\u96c6","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6997714523166424,"difficulty":"EASY","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCP 72","isFavor":false,"solutionNum":37,"title":"\u8865\u7ed9\u9a6c\u8f66","titleCn":"\u8865\u7ed9\u9a6c\u8f66","titleSlug":"hqCnmP","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.45638605571624297,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 73","isFavor":false,"solutionNum":23,"title":"\u63a2\u9669\u8425\u5730","titleCn":"\u63a2\u9669\u8425\u5730","titleSlug":"0Zeoeg","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.27844841461451797,"difficulty":"MEDIUM","freqBar":59.837658740124276,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 74","isFavor":false,"solutionNum":32,"title":"\u6700\u5f3a\u795d\u798f\u529b\u573a","titleCn":"\u6700\u5f3a\u795d\u798f\u529b\u573a","titleSlug":"xepqZ5","topicTags":[],"extra":{"companyTagNum":1,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/d2e85988beccb271af4b1a8f4767e4bdf4c085aaf5aaef093347d778e4e138d7-20.png","slug":"huawei","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3550624133148405,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 75","isFavor":false,"solutionNum":15,"title":"\u4f20\u9001\u5377\u8f74","titleCn":"\u4f20\u9001\u5377\u8f74","titleSlug":"rdmXM7","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3678385416666667,"difficulty":"HARD","freqBar":19.982759107401947,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 76","isFavor":false,"solutionNum":12,"title":"\u9b54\u6cd5\u68cb\u76d8","titleCn":"\u9b54\u6cd5\u68cb\u76d8","titleSlug":"1ybDKD","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7703875072296125,"difficulty":"EASY","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 77","isFavor":false,"solutionNum":6,"title":"\u7b26\u6587\u50a8\u5907","titleCn":"\u7b26\u6587\u50a8\u5907","titleSlug":"W2ZX4X","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4134446397188049,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 78","isFavor":false,"solutionNum":8,"title":"\u57ce\u5899\u9632\u7ebf","titleCn":"\u57ce\u5899\u9632\u7ebf","titleSlug":"Nsibyl","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.1611785095320624,"difficulty":"MEDIUM","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 79","isFavor":false,"solutionNum":7,"title":"\u63d0\u53d6\u5492\u6587","titleCn":"\u63d0\u53d6\u5492\u6587","titleSlug":"kjpLFZ","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4143302180685358,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 80","isFavor":false,"solutionNum":8,"title":"\u751f\u7269\u8fdb\u5316\u5f55","titleCn":"\u751f\u7269\u8fdb\u5316\u5f55","titleSlug":"qoQAMX","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3478854024556617,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 81","isFavor":false,"solutionNum":10,"title":"\u4e0e\u975e\u7684\u8c1c\u9898","titleCn":"\u4e0e\u975e\u7684\u8c1c\u9898","titleSlug":"ryfUiz","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.10771992818671454,"difficulty":"HARD","freqBar":0.0,"paidOnly":false,"status":"NOT_STARTED","frontendQuestionId":"LCP 82","isFavor":false,"solutionNum":2,"title":"\u4e07\u7075\u4e4b\u6811","titleCn":"\u4e07\u7075\u4e4b\u6811","titleSlug":"cnHoX6","topicTags":[],"extra":{"companyTagNum":0,"hasVideoSolution":false,"topCompanyTags":[],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5389535837297031,"difficulty":"EASY","freqBar":12.136764988680875,"paidOnly":false,"status":"AC","frontendQuestionId":"LCS 01","isFavor":false,"solutionNum":260,"title":"\u4e0b\u8f7d\u63d2\u4ef6","titleCn":"\u4e0b\u8f7d\u63d2\u4ef6","titleSlug":"Ju9Xwi","topicTags":[{"id":"n7hqh","name":"Greedy","slug":"greedy","nameTranslated":"\u8d2a\u5fc3","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":4,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6460284549939229,"difficulty":"EASY","freqBar":0.0,"paidOnly":false,"status":"AC","frontendQuestionId":"LCS 02","isFavor":false,"solutionNum":178,"title":"\u5b8c\u6210\u4e00\u534a\u9898\u76ee","titleCn":"\u5b8c\u6210\u4e00\u534a\u9898\u76ee","titleSlug":"WqXACV","topicTags":[{"id":"n7hqh","name":"Greedy","slug":"greedy","nameTranslated":"\u8d2a\u5fc3","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":3,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"},{"imgUrl":null,"slug":"yaxin","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.41362221966117324,"difficulty":"MEDIUM","freqBar":26.734079413339483,"paidOnly":false,"status":"AC","frontendQuestionId":"LCS 03","isFavor":false,"solutionNum":95,"title":"\u4e3b\u9898\u7a7a\u95f4","titleCn":"\u4e3b\u9898\u7a7a\u95f4","titleSlug":"YesdPw","topicTags":[{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n6a2i","name":"Union Find","slug":"union-find","nameTranslated":"\u5e76\u67e5\u96c6","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":2,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2021/01/5d12738e-00e0-4eaa-abec-bf4d8e65e49b/%E7%BE%8E%E5%9B%A2_1024x1024.png","slug":"meituan","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6715092023646715,"difficulty":"EASY","freqBar":89.8994801989923,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 03","isFavor":false,"solutionNum":4312,"title":"\u6570\u7ec4\u4e2d\u91cd\u590d\u7684\u6570\u5b57 LCOF","titleCn":"\u6570\u7ec4\u4e2d\u91cd\u590d\u7684\u6570\u5b57","titleSlug":"shu-zu-zhong-zhong-fu-de-shu-zi-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":45,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.39564831122436234,"difficulty":"MEDIUM","freqBar":62.05728348557608,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 04","isFavor":false,"solutionNum":3469,"title":"\u4e8c\u7ef4\u6570\u7ec4\u4e2d\u7684\u67e5\u627e LCOF","titleCn":"\u4e8c\u7ef4\u6570\u7ec4\u4e2d\u7684\u67e5\u627e","titleSlug":"er-wei-shu-zu-zhong-de-cha-zhao-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"drclh","name":"Binary Search","slug":"binary-search","nameTranslated":"\u4e8c\u5206\u67e5\u627e","__typename":"CommonTagNode"},{"id":"dp403","name":"Divide and Conquer","slug":"divide-and-conquer","nameTranslated":"\u5206\u6cbb","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":40,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7536416800811382,"difficulty":"EASY","freqBar":74.85793006147584,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 05","isFavor":false,"solutionNum":3412,"title":"\u66ff\u6362\u7a7a\u683c LCOF","titleCn":"\u66ff\u6362\u7a7a\u683c","titleSlug":"ti-huan-kong-ge-lcof","topicTags":[{"id":"dofid","name":"String","slug":"string","nameTranslated":"\u5b57\u7b26\u4e32","__typename":"CommonTagNode"}],"extra":{"companyTagNum":22,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.744755875813246,"difficulty":"EASY","freqBar":79.33538680000287,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 06","isFavor":false,"solutionNum":3542,"title":"\u4ece\u5c3e\u5230\u5934\u6253\u5370\u94fe\u8868 LCOF","titleCn":"\u4ece\u5c3e\u5230\u5934\u6253\u5370\u94fe\u8868","titleSlug":"cong-wei-dao-tou-da-yin-lian-biao-lcof","topicTags":[{"id":"nn04j","name":"Stack","slug":"stack","nameTranslated":"\u6808","__typename":"CommonTagNode"},{"id":"nbdc3","name":"Recursion","slug":"recursion","nameTranslated":"\u9012\u5f52","__typename":"CommonTagNode"},{"id":"d9m3t","name":"Linked List","slug":"linked-list","nameTranslated":"\u94fe\u8868","__typename":"CommonTagNode"},{"id":"do5us","name":"Two Pointers","slug":"two-pointers","nameTranslated":"\u53cc\u6307\u9488","__typename":"CommonTagNode"}],"extra":{"companyTagNum":32,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7027175936266845,"difficulty":"MEDIUM","freqBar":58.99701315624619,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 07","isFavor":false,"solutionNum":2133,"title":"\u91cd\u5efa\u4e8c\u53c9\u6811 LCOF","titleCn":"\u91cd\u5efa\u4e8c\u53c9\u6811","titleSlug":"zhong-jian-er-cha-shu-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"dp403","name":"Divide and Conquer","slug":"divide-and-conquer","nameTranslated":"\u5206\u6cbb","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":23,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/d2e85988beccb271af4b1a8f4767e4bdf4c085aaf5aaef093347d778e4e138d7-20.png","slug":"huawei","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7037319838640148,"difficulty":"EASY","freqBar":98.85968592447885,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 09","isFavor":false,"solutionNum":2963,"title":"\u7528\u4e24\u4e2a\u6808\u5b9e\u73b0\u961f\u5217 LCOF","titleCn":"\u7528\u4e24\u4e2a\u6808\u5b9e\u73b0\u961f\u5217","titleSlug":"yong-liang-ge-zhan-shi-xian-dui-lie-lcof","topicTags":[{"id":"nn04j","name":"Stack","slug":"stack","nameTranslated":"\u6808","__typename":"CommonTagNode"},{"id":"nzbej","name":"Design","slug":"design","nameTranslated":"\u8bbe\u8ba1","__typename":"CommonTagNode"},{"id":"vxfk6","name":"Queue","slug":"queue","nameTranslated":"\u961f\u5217","__typename":"CommonTagNode"}],"extra":{"companyTagNum":60,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.35961700677278685,"difficulty":"EASY","freqBar":63.714814347966744,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 10- I","isFavor":false,"solutionNum":2801,"title":"\u6590\u6ce2\u90a3\u5951\u6570\u5217  LCOF","titleCn":"\u6590\u6ce2\u90a3\u5951\u6570\u5217","titleSlug":"fei-bo-na-qi-shu-lie-lcof","topicTags":[{"id":"vhos7","name":"Memoization","slug":"memoization","nameTranslated":"\u8bb0\u5fc6\u5316\u641c\u7d22","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":34,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2021/01/5d12738e-00e0-4eaa-abec-bf4d8e65e49b/%E7%BE%8E%E5%9B%A2_1024x1024.png","slug":"meituan","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.45757108033335486,"difficulty":"EASY","freqBar":53.24339704258806,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 10- II","isFavor":false,"solutionNum":2050,"title":"\u9752\u86d9\u8df3\u53f0\u9636\u95ee\u9898  LCOF","titleCn":"\u9752\u86d9\u8df3\u53f0\u9636\u95ee\u9898","titleSlug":"qing-wa-tiao-tai-jie-wen-ti-lcof","topicTags":[{"id":"vhos7","name":"Memoization","slug":"memoization","nameTranslated":"\u8bb0\u5fc6\u5316\u641c\u7d22","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":43,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.49455993513591184,"difficulty":"EASY","freqBar":55.28753306511513,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 11","isFavor":false,"solutionNum":2573,"title":"\u65cb\u8f6c\u6570\u7ec4\u7684\u6700\u5c0f\u6570\u5b57  LCOF","titleCn":"\u65cb\u8f6c\u6570\u7ec4\u7684\u6700\u5c0f\u6570\u5b57","titleSlug":"xuan-zhuan-shu-zu-de-zui-xiao-shu-zi-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"drclh","name":"Binary Search","slug":"binary-search","nameTranslated":"\u4e8c\u5206\u67e5\u627e","__typename":"CommonTagNode"}],"extra":{"companyTagNum":23,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4568371000053846,"difficulty":"MEDIUM","freqBar":34.52811798959342,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 12","isFavor":false,"solutionNum":1830,"title":"\u77e9\u9635\u4e2d\u7684\u8def\u5f84  LCOF","titleCn":"\u77e9\u9635\u4e2d\u7684\u8def\u5f84","titleSlug":"ju-zhen-zhong-de-lu-jing-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"dnl25","name":"Backtracking","slug":"backtracking","nameTranslated":"\u56de\u6eaf","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"}],"extra":{"companyTagNum":15,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2021/11/ef533352-46b3-4f27-b592-9e445c409406/img.png","slug":"mi","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5366343719035561,"difficulty":"MEDIUM","freqBar":65.07294854266227,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 13","isFavor":false,"solutionNum":2509,"title":"\u673a\u5668\u4eba\u7684\u8fd0\u52a8\u8303\u56f4  LCOF","titleCn":"\u673a\u5668\u4eba\u7684\u8fd0\u52a8\u8303\u56f4","titleSlug":"ji-qi-ren-de-yun-dong-fan-wei-lcof","topicTags":[{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":26,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5742395183413852,"difficulty":"MEDIUM","freqBar":62.33286419106204,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 14- I","isFavor":false,"solutionNum":2017,"title":"\u526a\u7ef3\u5b50  LCOF","titleCn":"\u526a\u7ef3\u5b50","titleSlug":"jian-sheng-zi-lcof","topicTags":[{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":19,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.31428037335531206,"difficulty":"MEDIUM","freqBar":43.76130934737087,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 14- II","isFavor":false,"solutionNum":770,"title":"\u526a\u7ef3\u5b50 II LCOF","titleCn":"\u526a\u7ef3\u5b50 II","titleSlug":"jian-sheng-zi-ii-lcof","topicTags":[{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":7,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/66a2d50bf64e7e661de5fa15c300ca5fd524d292a32ec374d684edb8de912b90-20150610@024249.jpg.png","slug":"zhipin","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7561357294955576,"difficulty":"EASY","freqBar":25.296651755403204,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 15","isFavor":false,"solutionNum":1806,"title":"\u4e8c\u8fdb\u5236\u4e2d1\u7684\u4e2a\u6570 LCOF","titleCn":"\u4e8c\u8fdb\u5236\u4e2d1\u7684\u4e2a\u6570","titleSlug":"er-jin-zhi-zhong-1de-ge-shu-lcof","topicTags":[{"id":"nizi1","name":"Bit Manipulation","slug":"bit-manipulation","nameTranslated":"\u4f4d\u8fd0\u7b97","__typename":"CommonTagNode"}],"extra":{"companyTagNum":13,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3483386923901393,"difficulty":"MEDIUM","freqBar":23.337842489048615,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 16","isFavor":false,"solutionNum":1270,"title":"\u6570\u503c\u7684\u6574\u6570\u6b21\u65b9 LCOF","titleCn":"\u6570\u503c\u7684\u6574\u6570\u6b21\u65b9","titleSlug":"shu-zhi-de-zheng-shu-ci-fang-lcof","topicTags":[{"id":"nbdc3","name":"Recursion","slug":"recursion","nameTranslated":"\u9012\u5f52","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"}],"extra":{"companyTagNum":7,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7775284393208102,"difficulty":"EASY","freqBar":39.69076612020771,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 17","isFavor":false,"solutionNum":1571,"title":"\u6253\u5370\u4ece1\u5230\u6700\u5927\u7684n\u4f4d\u6570 LCOF","titleCn":"\u6253\u5370\u4ece1\u5230\u6700\u5927\u7684n\u4f4d\u6570","titleSlug":"da-yin-cong-1dao-zui-da-de-nwei-shu-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"}],"extra":{"companyTagNum":7,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5998781126342263,"difficulty":"EASY","freqBar":58.33270704072413,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 18","isFavor":false,"solutionNum":2267,"title":"\u5220\u9664\u94fe\u8868\u7684\u8282\u70b9 LCOF","titleCn":"\u5220\u9664\u94fe\u8868\u7684\u8282\u70b9","titleSlug":"shan-chu-lian-biao-de-jie-dian-lcof","topicTags":[{"id":"d9m3t","name":"Linked List","slug":"linked-list","nameTranslated":"\u94fe\u8868","__typename":"CommonTagNode"}],"extra":{"companyTagNum":13,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.3849349435441732,"difficulty":"HARD","freqBar":42.36779171969912,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 19","isFavor":false,"solutionNum":707,"title":"\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d LCOF","titleCn":"\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d","titleSlug":"zheng-ze-biao-da-shi-pi-pei-lcof","topicTags":[{"id":"nbdc3","name":"Recursion","slug":"recursion","nameTranslated":"\u9012\u5f52","__typename":"CommonTagNode"},{"id":"dofid","name":"String","slug":"string","nameTranslated":"\u5b57\u7b26\u4e32","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":15,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/1673523346-gJTDQc-miHoYo.png","slug":"mihoyo","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.25299450256093026,"difficulty":"MEDIUM","freqBar":55.573343113874984,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 20","isFavor":false,"solutionNum":1489,"title":"\u8868\u793a\u6570\u503c\u7684\u5b57\u7b26\u4e32 LCOF","titleCn":"\u8868\u793a\u6570\u503c\u7684\u5b57\u7b26\u4e32","titleSlug":"biao-shi-shu-zhi-de-zi-fu-chuan-lcof","topicTags":[{"id":"dofid","name":"String","slug":"string","nameTranslated":"\u5b57\u7b26\u4e32","__typename":"CommonTagNode"}],"extra":{"companyTagNum":17,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6501420270799481,"difficulty":"EASY","freqBar":55.92792329418377,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 21","isFavor":false,"solutionNum":2586,"title":"\u8c03\u6574\u6570\u7ec4\u987a\u5e8f\u4f7f\u5947\u6570\u4f4d\u4e8e\u5076\u6570\u524d\u9762 LCOF","titleCn":"\u8c03\u6574\u6570\u7ec4\u987a\u5e8f\u4f7f\u5947\u6570\u4f4d\u4e8e\u5076\u6570\u524d\u9762","titleSlug":"diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"do5us","name":"Two Pointers","slug":"two-pointers","nameTranslated":"\u53cc\u6307\u9488","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":20,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.8016066152258664,"difficulty":"EASY","freqBar":74.22962904955979,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 22","isFavor":false,"solutionNum":3544,"title":"\u94fe\u8868\u4e2d\u5012\u6570\u7b2ck\u4e2a\u8282\u70b9 LCOF","titleCn":"\u94fe\u8868\u4e2d\u5012\u6570\u7b2ck\u4e2a\u8282\u70b9","titleSlug":"lian-biao-zhong-dao-shu-di-kge-jie-dian-lcof","topicTags":[{"id":"d9m3t","name":"Linked List","slug":"linked-list","nameTranslated":"\u94fe\u8868","__typename":"CommonTagNode"},{"id":"do5us","name":"Two Pointers","slug":"two-pointers","nameTranslated":"\u53cc\u6307\u9488","__typename":"CommonTagNode"}],"extra":{"companyTagNum":41,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7424847914068267,"difficulty":"EASY","freqBar":72.65631555974879,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 24","isFavor":false,"solutionNum":2888,"title":"\u53cd\u8f6c\u94fe\u8868 LCOF","titleCn":"\u53cd\u8f6c\u94fe\u8868","titleSlug":"fan-zhuan-lian-biao-lcof","topicTags":[{"id":"nbdc3","name":"Recursion","slug":"recursion","nameTranslated":"\u9012\u5f52","__typename":"CommonTagNode"},{"id":"d9m3t","name":"Linked List","slug":"linked-list","nameTranslated":"\u94fe\u8868","__typename":"CommonTagNode"}],"extra":{"companyTagNum":64,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/tag/%E7%99%BE%E5%BA%A6/company_logo","slug":"baidu","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7231027842895844,"difficulty":"EASY","freqBar":66.05799916974402,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 25","isFavor":false,"solutionNum":1889,"title":"\u5408\u5e76\u4e24\u4e2a\u6392\u5e8f\u7684\u94fe\u8868  LCOF","titleCn":"\u5408\u5e76\u4e24\u4e2a\u6392\u5e8f\u7684\u94fe\u8868","titleSlug":"he-bing-liang-ge-pai-xu-de-lian-biao-lcof","topicTags":[{"id":"nbdc3","name":"Recursion","slug":"recursion","nameTranslated":"\u9012\u5f52","__typename":"CommonTagNode"},{"id":"d9m3t","name":"Linked List","slug":"linked-list","nameTranslated":"\u94fe\u8868","__typename":"CommonTagNode"}],"extra":{"companyTagNum":39,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4646033913085157,"difficulty":"MEDIUM","freqBar":71.65189242835223,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 26","isFavor":false,"solutionNum":2059,"title":"\u6811\u7684\u5b50\u7ed3\u6784  LCOF","titleCn":"\u6811\u7684\u5b50\u7ed3\u6784","titleSlug":"shu-de-zi-jie-gou-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":16,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7962415901865245,"difficulty":"EASY","freqBar":12.136764988680875,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 27","isFavor":false,"solutionNum":2203,"title":"\u4e8c\u53c9\u6811\u7684\u955c\u50cf  LCOF","titleCn":"\u4e8c\u53c9\u6811\u7684\u955c\u50cf","titleSlug":"er-cha-shu-de-jing-xiang-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":20,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5764022980048561,"difficulty":"EASY","freqBar":42.36779171969912,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 28","isFavor":false,"solutionNum":1838,"title":"\u5bf9\u79f0\u7684\u4e8c\u53c9\u6811  LCOF","titleCn":"\u5bf9\u79f0\u7684\u4e8c\u53c9\u6811","titleSlug":"dui-cheng-de-er-cha-shu-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":13,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":null,"slug":"si-chuan-ruan-yun-wang-luo-ke-ji-you-xian-ze-ren-gong-si","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4313231650258227,"difficulty":"EASY","freqBar":72.40303208664778,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 29","isFavor":false,"solutionNum":2169,"title":"\u987a\u65f6\u9488\u6253\u5370\u77e9\u9635  LCOF","titleCn":"\u987a\u65f6\u9488\u6253\u5370\u77e9\u9635","titleSlug":"shun-shi-zhen-da-yin-ju-zhen-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"uw538v","name":"Matrix","slug":"matrix","nameTranslated":"\u77e9\u9635","__typename":"CommonTagNode"},{"id":"xeyjfe6","name":"Simulation","slug":"simulation","nameTranslated":"\u6a21\u62df","__typename":"CommonTagNode"}],"extra":{"companyTagNum":47,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5533981206328809,"difficulty":"EASY","freqBar":83.4360990183304,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 30","isFavor":false,"solutionNum":2001,"title":"\u5305\u542bmin\u51fd\u6570\u7684\u6808 LCOF","titleCn":"\u5305\u542bmin\u51fd\u6570\u7684\u6808","titleSlug":"bao-han-minhan-shu-de-zhan-lcof","topicTags":[{"id":"nn04j","name":"Stack","slug":"stack","nameTranslated":"\u6808","__typename":"CommonTagNode"},{"id":"nzbej","name":"Design","slug":"design","nameTranslated":"\u8bbe\u8ba1","__typename":"CommonTagNode"}],"extra":{"companyTagNum":19,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6101392226615101,"difficulty":"MEDIUM","freqBar":61.87877228187958,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 31","isFavor":false,"solutionNum":1532,"title":"\u6808\u7684\u538b\u5165\u3001\u5f39\u51fa\u5e8f\u5217 LCOF","titleCn":"\u6808\u7684\u538b\u5165\u3001\u5f39\u51fa\u5e8f\u5217","titleSlug":"zhan-de-ya-ru-dan-chu-xu-lie-lcof","topicTags":[{"id":"nn04j","name":"Stack","slug":"stack","nameTranslated":"\u6808","__typename":"CommonTagNode"},{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"xeyjfe6","name":"Simulation","slug":"simulation","nameTranslated":"\u6a21\u62df","__typename":"CommonTagNode"}],"extra":{"companyTagNum":13,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2021/01/5d12738e-00e0-4eaa-abec-bf4d8e65e49b/%E7%BE%8E%E5%9B%A2_1024x1024.png","slug":"meituan","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6317567104041564,"difficulty":"MEDIUM","freqBar":55.92792329418377,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 32 - I","isFavor":false,"solutionNum":1689,"title":"\u4ece\u4e0a\u5230\u4e0b\u6253\u5370\u4e8c\u53c9\u6811 LCOF","titleCn":"\u4ece\u4e0a\u5230\u4e0b\u6253\u5370\u4e8c\u53c9\u6811","titleSlug":"cong-shang-dao-xia-da-yin-er-cha-shu-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":16,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6890909643097575,"difficulty":"EASY","freqBar":47.00912684496049,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 32 - II","isFavor":false,"solutionNum":1871,"title":"\u4ece\u4e0a\u5230\u4e0b\u6253\u5370\u4e8c\u53c9\u6811 II LCOF","titleCn":"\u4ece\u4e0a\u5230\u4e0b\u6253\u5370\u4e8c\u53c9\u6811 II","titleSlug":"cong-shang-dao-xia-da-yin-er-cha-shu-ii-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":15,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5824356915043813,"difficulty":"MEDIUM","freqBar":37.59330457903583,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 32 - III","isFavor":false,"solutionNum":2087,"title":"\u4ece\u4e0a\u5230\u4e0b\u6253\u5370\u4e8c\u53c9\u6811 III LCOF","titleCn":"\u4ece\u4e0a\u5230\u4e0b\u6253\u5370\u4e8c\u53c9\u6811 III","titleSlug":"cong-shang-dao-xia-da-yin-er-cha-shu-iii-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":16,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2021/01/5d12738e-00e0-4eaa-abec-bf4d8e65e49b/%E7%BE%8E%E5%9B%A2_1024x1024.png","slug":"meituan","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/tag/%E7%99%BE%E5%BA%A6/company_logo","slug":"baidu","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5683142109815446,"difficulty":"MEDIUM","freqBar":72.65631555974879,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 33","isFavor":false,"solutionNum":1626,"title":"\u4e8c\u53c9\u641c\u7d22\u6811\u7684\u540e\u5e8f\u904d\u5386\u5e8f\u5217 LCOF","titleCn":"\u4e8c\u53c9\u641c\u7d22\u6811\u7684\u540e\u5e8f\u904d\u5386\u5e8f\u5217","titleSlug":"er-cha-sou-suo-shu-de-hou-xu-bian-li-xu-lie-lcof","topicTags":[{"id":"nn04j","name":"Stack","slug":"stack","nameTranslated":"\u6808","__typename":"CommonTagNode"},{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"ncljh","name":"Binary Search Tree","slug":"binary-search-tree","nameTranslated":"\u4e8c\u53c9\u641c\u7d22\u6811","__typename":"CommonTagNode"},{"id":"nbdc3","name":"Recursion","slug":"recursion","nameTranslated":"\u9012\u5f52","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"},{"id":"xeyj5r5","name":"Monotonic Stack","slug":"monotonic-stack","nameTranslated":"\u5355\u8c03\u6808","__typename":"CommonTagNode"}],"extra":{"companyTagNum":17,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.59025702673307,"difficulty":"MEDIUM","freqBar":33.60509861104517,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 34","isFavor":false,"solutionNum":1488,"title":"\u4e8c\u53c9\u6811\u4e2d\u548c\u4e3a\u67d0\u4e00\u503c\u7684\u8def\u5f84 LCOF","titleCn":"\u4e8c\u53c9\u6811\u4e2d\u548c\u4e3a\u67d0\u4e00\u503c\u7684\u8def\u5f84","titleSlug":"er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"dnl25","name":"Backtracking","slug":"backtracking","nameTranslated":"\u56de\u6eaf","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":21,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2021/01/5d12738e-00e0-4eaa-abec-bf4d8e65e49b/%E7%BE%8E%E5%9B%A2_1024x1024.png","slug":"meituan","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.7157713953685683,"difficulty":"MEDIUM","freqBar":43.05265457652598,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 35","isFavor":false,"solutionNum":1751,"title":"\u590d\u6742\u94fe\u8868\u7684\u590d\u5236  LCOF","titleCn":"\u590d\u6742\u94fe\u8868\u7684\u590d\u5236","titleSlug":"fu-za-lian-biao-de-fu-zhi-lcof","topicTags":[{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"d9m3t","name":"Linked List","slug":"linked-list","nameTranslated":"\u94fe\u8868","__typename":"CommonTagNode"}],"extra":{"companyTagNum":17,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6497441184392618,"difficulty":"MEDIUM","freqBar":52.621943197701725,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 36","isFavor":false,"solutionNum":1615,"title":"\u4e8c\u53c9\u641c\u7d22\u6811\u4e0e\u53cc\u5411\u94fe\u8868  LCOF","titleCn":"\u4e8c\u53c9\u641c\u7d22\u6811\u4e0e\u53cc\u5411\u94fe\u8868","titleSlug":"er-cha-sou-suo-shu-yu-shuang-xiang-lian-biao-lcof","topicTags":[{"id":"nn04j","name":"Stack","slug":"stack","nameTranslated":"\u6808","__typename":"CommonTagNode"},{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"ncljh","name":"Binary Search Tree","slug":"binary-search-tree","nameTranslated":"\u4e8c\u53c9\u641c\u7d22\u6811","__typename":"CommonTagNode"},{"id":"d9m3t","name":"Linked List","slug":"linked-list","nameTranslated":"\u94fe\u8868","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"},{"id":"arqq05","name":"Doubly-Linked List","slug":"doubly-linked-list","nameTranslated":"\u53cc\u5411\u94fe\u8868","__typename":"CommonTagNode"}],"extra":{"companyTagNum":18,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5752061000455613,"difficulty":"HARD","freqBar":33.60509861104517,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 37","isFavor":false,"solutionNum":847,"title":"\u5e8f\u5217\u5316\u4e8c\u53c9\u6811  LCOF","titleCn":"\u5e8f\u5217\u5316\u4e8c\u53c9\u6811","titleSlug":"xu-lie-hua-er-cha-shu-lcof","topicTags":[{"id":"nt875","name":"Tree","slug":"tree","nameTranslated":"\u6811","__typename":"CommonTagNode"},{"id":"n8id6","name":"Depth-First Search","slug":"depth-first-search","nameTranslated":"\u6df1\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"n30w2","name":"Breadth-First Search","slug":"breadth-first-search","nameTranslated":"\u5e7f\u5ea6\u4f18\u5148\u641c\u7d22","__typename":"CommonTagNode"},{"id":"nzbej","name":"Design","slug":"design","nameTranslated":"\u8bbe\u8ba1","__typename":"CommonTagNode"},{"id":"dofid","name":"String","slug":"string","nameTranslated":"\u5b57\u7b26\u4e32","__typename":"CommonTagNode"},{"id":"ehgq01","name":"Binary Tree","slug":"binary-tree","nameTranslated":"\u4e8c\u53c9\u6811","__typename":"CommonTagNode"}],"extra":{"companyTagNum":16,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5763171217751926,"difficulty":"MEDIUM","freqBar":63.06610790746079,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 38","isFavor":false,"solutionNum":1617,"title":"\u5b57\u7b26\u4e32\u7684\u6392\u5217  LCOF","titleCn":"\u5b57\u7b26\u4e32\u7684\u6392\u5217","titleSlug":"zi-fu-chuan-de-pai-lie-lcof","topicTags":[{"id":"dofid","name":"String","slug":"string","nameTranslated":"\u5b57\u7b26\u4e32","__typename":"CommonTagNode"},{"id":"dnl25","name":"Backtracking","slug":"backtracking","nameTranslated":"\u56de\u6eaf","__typename":"CommonTagNode"}],"extra":{"companyTagNum":37,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/d2e85988beccb271af4b1a8f4767e4bdf4c085aaf5aaef093347d778e4e138d7-20.png","slug":"huawei","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.700715936636789,"difficulty":"EASY","freqBar":62.72462366125433,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 39","isFavor":false,"solutionNum":1569,"title":"\u6570\u7ec4\u4e2d\u51fa\u73b0\u6b21\u6570\u8d85\u8fc7\u4e00\u534a\u7684\u6570\u5b57  LCOF","titleCn":"\u6570\u7ec4\u4e2d\u51fa\u73b0\u6b21\u6570\u8d85\u8fc7\u4e00\u534a\u7684\u6570\u5b57","titleSlug":"shu-zu-zhong-chu-xian-ci-shu-chao-guo-yi-ban-de-shu-zi-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"wzve3","name":"Hash Table","slug":"hash-table","nameTranslated":"\u54c8\u5e0c\u8868","__typename":"CommonTagNode"},{"id":"dp403","name":"Divide and Conquer","slug":"divide-and-conquer","nameTranslated":"\u5206\u6cbb","__typename":"CommonTagNode"},{"id":"pxpqcm","name":"Counting","slug":"counting","nameTranslated":"\u8ba1\u6570","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"}],"extra":{"companyTagNum":22,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/f8fd5b104aa30bbd9bba7cf428a63e8c130f1665876e6afa52186d9510936517-fb_icon_325x325.png","slug":"facebook","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5763360611136599,"difficulty":"EASY","freqBar":43.05265457652598,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 40","isFavor":false,"solutionNum":2530,"title":"\u6700\u5c0f\u7684k\u4e2a\u6570  LCOF","titleCn":"\u6700\u5c0f\u7684k\u4e2a\u6570","titleSlug":"zui-xiao-de-kge-shu-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"dp403","name":"Divide and Conquer","slug":"divide-and-conquer","nameTranslated":"\u5206\u6cbb","__typename":"CommonTagNode"},{"id":"gl65v1","name":"Quickselect","slug":"quickselect","nameTranslated":"\u5feb\u901f\u9009\u62e9","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"},{"id":"xp2oh0e","name":"Heap (Priority Queue)","slug":"heap-priority-queue","nameTranslated":"\u5806\uff08\u4f18\u5148\u961f\u5217\uff09","__typename":"CommonTagNode"}],"extra":{"companyTagNum":39,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5832364846789083,"difficulty":"HARD","freqBar":51.10282866587701,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 41","isFavor":false,"solutionNum":866,"title":"\u6570\u636e\u6d41\u4e2d\u7684\u4e2d\u4f4d\u6570  LCOF","titleCn":"\u6570\u636e\u6d41\u4e2d\u7684\u4e2d\u4f4d\u6570","titleSlug":"shu-ju-liu-zhong-de-zhong-wei-shu-lcof","topicTags":[{"id":"nzbej","name":"Design","slug":"design","nameTranslated":"\u8bbe\u8ba1","__typename":"CommonTagNode"},{"id":"do5us","name":"Two Pointers","slug":"two-pointers","nameTranslated":"\u53cc\u6307\u9488","__typename":"CommonTagNode"},{"id":"pgti0i","name":"Data Stream","slug":"data-stream","nameTranslated":"\u6570\u636e\u6d41","__typename":"CommonTagNode"},{"id":"1v8x3g","name":"Sorting","slug":"sorting","nameTranslated":"\u6392\u5e8f","__typename":"CommonTagNode"},{"id":"xp2oh0e","name":"Heap (Priority Queue)","slug":"heap-priority-queue","nameTranslated":"\u5806\uff08\u4f18\u5148\u961f\u5217\uff09","__typename":"CommonTagNode"}],"extra":{"companyTagNum":12,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/1676258062-Lqtrvc-pdd.png","slug":"pinduoduo","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.6039091418190758,"difficulty":"EASY","freqBar":71.65189242835223,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 42","isFavor":false,"solutionNum":2270,"title":"\u8fde\u7eed\u5b50\u6570\u7ec4\u7684\u6700\u5927\u548c  LCOF","titleCn":"\u8fde\u7eed\u5b50\u6570\u7ec4\u7684\u6700\u5927\u548c","titleSlug":"lian-xu-zi-shu-zu-de-zui-da-he-lcof","topicTags":[{"id":"wg0rh","name":"Array","slug":"array","nameTranslated":"\u6570\u7ec4","__typename":"CommonTagNode"},{"id":"dp403","name":"Divide and Conquer","slug":"divide-and-conquer","nameTranslated":"\u5206\u6cbb","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":50,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2023/01/e68645fd-9dd0-46ee-b97c-f4ad64a07848/3%26fmt%3Dauto%26app%3D120%26f%3DJPEG.webp","slug":"tencent","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.5054089488792242,"difficulty":"HARD","freqBar":51.848766669023036,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 43","isFavor":false,"solutionNum":773,"title":"1\uff5en\u6574\u6570\u4e2d1\u51fa\u73b0\u7684\u6b21\u6570  LCOF","titleCn":"1\uff5en \u6574\u6570\u4e2d 1 \u51fa\u73b0\u7684\u6b21\u6570","titleSlug":"1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof","topicTags":[{"id":"nbdc3","name":"Recursion","slug":"recursion","nameTranslated":"\u9012\u5f52","__typename":"CommonTagNode"},{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"d2tn7","name":"Dynamic Programming","slug":"dynamic-programming","nameTranslated":"\u52a8\u6001\u89c4\u5212","__typename":"CommonTagNode"}],"extra":{"companyTagNum":17,"hasVideoSolution":true,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://assets.leetcode.cn/aliyun-lc-upload/uploaded_files/2022/09/e9108030-576a-4a77-8539-75de09ce5a5a/%E5%85%AC%E5%8F%B8%20Logo%E7%9A%84%E5%89%AF%E6%9C%AC.png","slug":"amazon","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}},{"__typename":"QuestionLightNode","acRate":0.4308094963317121,"difficulty":"MEDIUM","freqBar":32.89731886164997,"paidOnly":false,"status":"AC","frontendQuestionId":"\u5251\u6307 Offer 44","isFavor":false,"solutionNum":790,"title":"\u6570\u5b57\u5e8f\u5217\u4e2d\u67d0\u4e00\u4f4d\u7684\u6570\u5b57  LCOF","titleCn":"\u6570\u5b57\u5e8f\u5217\u4e2d\u67d0\u4e00\u4f4d\u7684\u6570\u5b57","titleSlug":"shu-zi-xu-lie-zhong-mou-yi-wei-de-shu-zi-lcof","topicTags":[{"id":"deo8r","name":"Math","slug":"math","nameTranslated":"\u6570\u5b66","__typename":"CommonTagNode"},{"id":"drclh","name":"Binary Search","slug":"binary-search","nameTranslated":"\u4e8c\u5206\u67e5\u627e","__typename":"CommonTagNode"}],"extra":{"companyTagNum":8,"hasVideoSolution":false,"topCompanyTags":[{"imgUrl":"https://pic.leetcode.cn/1608896124-NAAKhT-images.png","slug":"bytedance","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/dc8ca8220e0392cd08f0832bf03d6df599fa081505f307f09fdc91139aa4b54b-c0c9bfecd0329eeeaee48437456956fea5fcb84185f37de7656eabfe54c595e1-unnamed-1.png","slug":"microsoft","__typename":"CommonTagNode"},{"imgUrl":"https://pic.leetcode.cn/45a64add888e66ff6d3c551bed948528715996937b877aaf6fdc08eae74789f5-google-logo-png-open-2000.png","slug":"google","__typename":"CommonTagNode"}],"__typename":"QuestionExtraInfoNode"}}],"hasMore":true,"total":3059}}}
"""

res = json.loads(data)

questions = res["data"]["problemsetQuestionList"]["questions"]
questions = [item for item in questions if item["frontendQuestionId"][:3] == "LCP"]

mp = {"EASY": "简单", "MEDIUM": "中等", "HARD": "困难"}
# 正则表达式模式，匹配图片链接，处理可能的尖括号
pattern = r'!\[.*?\]\(<?(https://.*?/(.*?))>?\)'


def get_question_detail(question_title_slug):
    """fetch question detail from lc's api"""
    form_data = {
        "operationName": "globalData",
        "query": "query globalData {\n  feature {\n    questionTranslation\n    subscription\n    signUp\n    "
        "discuss\n    mockInterview\n    contest\n    store\n    book\n    chinaProblemDiscuss\n    "
        "socialProviders\n    studentFooter\n    cnJobs\n    enableLsp\n    enableWs\n    "
        "enableDebugger\n    enableDebuggerAdmin\n    enableDarkMode\n    tasks\n    "
        "leetbook\n    __typename\n  }\n  userStatus {\n    isSignedIn\n    isAdmin\n    "
        "isStaff\n    isSuperuser\n    isTranslator\n    isPremium\n    isVerified\n    "
        "isPhoneVerified\n    isWechatVerified\n    checkedInToday\n    username\n    "
        "realName\n    userSlug\n    groups\n    avatar\n    optedIn\n    "
        "requestRegion\n    region\n    activeSessionId\n    permissions\n    notificationStatus {\n      "
        "lastModified\n      numUnread\n      __typename\n    }\n    completedFeatureGuides\n    "
        "useTranslation\n    accountStatus {\n      isFrozen\n      inactiveAfter\n      __typename\n    "
        "}\n    __typename\n  }\n  siteRegion\n  chinaHost\n  websocketUrl\n  userBannedInfo {\n    "
        "bannedData {\n      endAt\n      bannedType\n      __typename\n    }\n    __typename\n  }\n}\n",
        "variables": {},
    }
    headers = {
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
        "Chrome/77.0.3865.120 Safari/537.36",
        "Connection": "keep-alive",
        "Content-Type": "application/json",
        "Referer": "https://leetcode.cn/problems/" + question_title_slug,
        # lc-cn cookie here
        "cookie": "",
    }
    requests.post(
        url="https://leetcode.cn/graphql",
        data=json.dumps(form_data),
        headers=headers,
        timeout=10,
        verify=False,
    )

    form_data = {
        "operationName": "questionData",
        "variables": {"titleSlug": question_title_slug},
        "query": "query questionData($titleSlug: String!) {\n  question(titleSlug: $titleSlug) {\n    "
        "questionId\n    questionFrontendId\n    categoryTitle\n    boundTopicId\n    title\n    "
        "titleSlug\n    content\n    translatedTitle\n    translatedContent\n    isPaidOnly\n    "
        "difficulty\n    likes\n    dislikes\n    isLiked\n    similarQuestions\n    "
        "contributors {\n      username\n      profileUrl\n      avatarUrl\n      __typename\n    "
        "}\n    langToValidPlayground\n    topicTags {\n      name\n      slug\n      "
        "translatedName\n      __typename\n    }\n    companyTagStats\n    codeSnippets {\n      "
        "lang\n      langSlug\n      code\n      __typename\n    }\n    stats\n    hints\n    "
        "solution {\n      id\n      canSeeDetail\n      __typename\n    }\n    status\n    "
        "sampleTestCase\n    metaData\n    judgerAvailable\n    judgeType\n    mysqlSchemas\n    "
        "enableRunCode\n    envInfo\n    book {\n      id\n      bookName\n      pressName\n      "
        "source\n      shortDescription\n      fullDescription\n      bookImgUrl\n      "
        "pressImgUrl\n      productUrl\n      __typename\n    }\n    isSubscribed\n    "
        "isDailyQuestion\n    dailyRecordStatus\n    editorType\n    ugcQuestionId\n    style\n    "
        "exampleTestcases\n    __typename\n  }\n}\n",
    }

    # get question detail
    resp = requests.post(
        url="https://leetcode.cn/graphql",
        data=json.dumps(form_data).encode("utf-8"),
        headers=headers,
        timeout=10,
        verify=False,
    )
    res = resp.json()
    return res["data"]["question"]


template = """
{}

# [{}. {}]({})

## 题目描述



{}

## 解法

### 方法一

<!-- tabs:start -->

```python

```

```java

```

```cpp

```

```go

```

<!-- tabs:end -->


"""

for question in questions:
    question_title_slug = question["titleSlug"]
    frontend_question_id = question["frontendQuestionId"]
    title = str(question["title"]).strip()
    title_cn = str(question["titleCn"]).strip()
    url = "https://leetcode.cn/problems/" + question_title_slug
    sub_folder = frontend_question_id + ". " + title_cn
    topics = ",".join(
        [f'`{topic["nameTranslated"]}`' for topic in question["topicTags"]]
    )
    path = f"./{sub_folder}"
    diff = mp[question["difficulty"]]

    question_detail = get_question_detail(question_title_slug)
    question_content = question_detail["translatedContent"]
    if question_content is None:
        continue
    path = path.replace(":", " ")
    if not os.path.exists(path):
        os.makedirs(path)
    path = path + "/README.md"
    relative_path = quote(f"/lcp/{sub_folder}/README.md")

    metadata = {
        "comments": True,
        "edit_url": "https://github.com/doocs/leetcode/edit/main" + relative_path,
        "difficulty": diff,
    }
    yaml_metadata = yaml.dump(metadata, default_flow_style=False, allow_unicode=True)
    metadata_section = f"---\n{yaml_metadata}---"

    # 判断是否存在该 README.md 文件
    if os.path.exists(path):
        with open(path, "r", encoding="utf-8") as f:
            readme = f.read()
            solutions = readme[readme.index("## 解法") :]
            content = (
                template[: template.index("## 解法")]
                .lstrip()
                .format(
                    metadata_section,
                    frontend_question_id,
                    title_cn,
                    url,
                    question_content,
                )
                + solutions
            )
    else:
        content = template.lstrip()

    # 使用 re.findall 找到所有匹配项
    matches = re.findall(pattern, content)
    for url, filename in matches:
        new_url = (
            'https://fastly.jsdelivr.net/gh/doocs/leetcode@main'
            + relative_path.replace("README.md", 'images/' + filename)
        )
        content = content.replace(url, new_url)

    with open(path, "w", encoding="utf-8") as f:
        f.write(content)
    t = f"|  [{frontend_question_id}]({url})  |  [ {title_cn}]({relative_path})  | {topics} | {diff} |"
    print(t)

res = os.listdir(".")
for file in res:
    if os.path.isdir("./" + file) and file != "__pycache__":
        print(f"- [{file}](/lcp/{quote(file)}/README.md)")
